package cn.jbit.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class commodity implements Serializable {
//	商品表id
	private Integer commodity_id;

//	商品名称
	private String commodity_name;

//	用户id
	private Integer commodity_user_id;

//	商品的价格
	private String commodity_price;

//	商品批发价
	private String commodity_tradeprice;

//	商品发布时间
	private String commodity_time;

//	商品状态1、可用，2、不可用
	private Integer commodity_state;

//	商品数量
	private Integer commodity_count;

//	商品展示图片
	private String commodity_img;

//	商品出售数量
	private Integer commodity_quantitysold;

//	商品类型id
	private Integer commodity_type_id;
	
	//详情
	private List<commodity_details> commodity_details;

	public List<commodity_details> getCommodity_details() {
		return commodity_details;
	}

	public void setCommodity_details(List<commodity_details> commodity_details) {
		this.commodity_details = commodity_details;
	}

	public Integer getCommodity_id() {
		return commodity_id;
	}

	public void setCommodity_id(Integer commodity_id) {
		this.commodity_id = commodity_id;
	}

	public String getCommodity_name() {
		return commodity_name;
	}

	public void setCommodity_name(String commodity_name) {
		this.commodity_name = commodity_name;
	}

	public Integer getCommodity_user_id() {
		return commodity_user_id;
	}

	public void setCommodity_user_id(Integer commodity_user_id) {
		this.commodity_user_id = commodity_user_id;
	}

	public String getCommodity_price() {
		return commodity_price;
	}

	public void setCommodity_price(String commodity_price) {
		this.commodity_price = commodity_price;
	}

	public String getCommodity_tradeprice() {
		return commodity_tradeprice;
	}

	public void setCommodity_tradeprice(String commodity_tradeprice) {
		this.commodity_tradeprice = commodity_tradeprice;
	}

	public String getCommodity_time() {
		return commodity_time;
	}

	public void setCommodity_time(String commodity_time) {
		this.commodity_time = commodity_time;
	}

	public Integer getCommodity_state() {
		return commodity_state;
	}

	public void setCommodity_state(Integer commodity_state) {
		this.commodity_state = commodity_state;
	}

	public Integer getCommodity_count() {
		return commodity_count;
	}

	public void setCommodity_count(Integer commodity_count) {
		this.commodity_count = commodity_count;
	}

	public String getCommodity_img() {
		return commodity_img;
	}

	public void setCommodity_img(String commodity_img) {
		this.commodity_img = commodity_img;
	}

	public Integer getCommodity_quantitysold() {
		return commodity_quantitysold;
	}

	public void setCommodity_quantitysold(Integer commodity_quantitysold) {
		this.commodity_quantitysold = commodity_quantitysold;
	}

	public Integer getCommodity_type_id() {
		return commodity_type_id;
	}

	public void setCommodity_type_id(Integer commodity_type_id) {
		this.commodity_type_id = commodity_type_id;
	}

	public commodity(Integer commodity_id, String commodity_name, Integer commodity_user_id, String commodity_price,
			String commodity_tradeprice, String commodity_time, Integer commodity_state, Integer commodity_count,
			String commodity_img, Integer commodity_quantitysold, Integer commodity_type_id) {
		super();
		this.commodity_id = commodity_id;
		this.commodity_name = commodity_name;
		this.commodity_user_id = commodity_user_id;
		this.commodity_price = commodity_price;
		this.commodity_tradeprice = commodity_tradeprice;
		this.commodity_time = commodity_time;
		this.commodity_state = commodity_state;
		this.commodity_count = commodity_count;
		this.commodity_img = commodity_img;
		this.commodity_quantitysold = commodity_quantitysold;
		this.commodity_type_id = commodity_type_id;
	}

	public commodity() {
		super();
	}
	

}
